<{include file="admincp_header.htm"}>
<script language="javascript">
function d(id) {
	if(confirm('<{$lan.suredelcategory}>')) {
		document.location='admincp.php?action=deletecategory&vc=<{$vc}>&id='+id;
	}
}
c = new Array();
function i(id) {
	if(typeof(c[id]) == 'undefined' || c[id] == 0) {
		c[id] = 1;
		$("c" + id).style.display = "none";
		$("f" + id).className = "f3";
	} else {
		c[id] = 0;
		$("c" + id).style.display = "block";
		$("f" + id).className = "f2";
	}
	$("f" + id).focus();
}
</script>
<body>
<div class="block"></div>
<div class="commontable">
	<div class="header" style="padding:0px;height:26px;">
		<div style="padding:6px;"><{$lan.category}></div>
	</div>
	<div class="content">
		<b><{$lan.tools}></b> <a href="admincp.php?action=refreshcategory"><{$lan.refreshcategories}></a>
	</div>
	<div class="content" id="categoriestree">
		<{$categoriestree}>
		<div style="clear:both;"></div>
	</div>
</div>
</body>
</html>